<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:fn="http://java.sun.com/jsp/jstl/functions"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">
      
      		<p:dialog header="Exclusão" widgetVar="excluir" resizable="false" modal="true" width="370" showEffect="clip" hideEffect="fold">
				<h:form>
					<h:panelGroup layout="block">
					
						<h:panelGroup layout="block" style="text-align:center;">
							<h:panelGroup layout="block" style="float:left">
								<h:graphicImage library="image" name="img_modal_excluir.png" />
							</h:panelGroup>
							<h:panelGroup layout="block" style="float:left;margin-top:22px">
								<h:outputText value="Deseja excluir o item selecionado ?" style="font-size:16px;color:red;font-weight:bold;margin-left:4px" />
							</h:panelGroup>
							
						</h:panelGroup>

						<h:panelGroup layout="block" style="text-align:center;padding-top:10px;clear:both">
							<p:commandButton value="Sim" action="#{bean[metodo]}" oncomplete="excluir.hide()" update="#{idTabela}"/>
							<p:commandButton value="Não" onclick="excluir.hide()"/>
						</h:panelGroup>
					</h:panelGroup>
				</h:form>
		    </p:dialog>
      
</ui:composition>